package cn.iocoder.yudao.module.infrastructure.region.service;

import cn.hutool.core.lang.tree.Tree;
import cn.iocoder.yudao.framework.location.LocationInfo;
import cn.iocoder.yudao.module.infrastructure.region.vo.PinyinCityVO;

import java.util.List;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 *  这里是文件说明
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/05/17
 */
public interface RegionService {

    List<Tree<Integer>> getRegionTree();

    List<PinyinCityVO> getCityList(String dataset);

    String getCityByIp(String ip);

    LocationInfo getLocation(Double longitude, Double latitude, String provider);

    String getLocationAddress(Double longitude, Double latitude, String provider);

}
